import request from '@/utils/request'

// 发布
export function addMessage(data) {
  return request({
    url: '/sys/platformInfo/add',
    method: 'post',
    data: data
  })
}
// 发布
export function messageDetails(id) {
  return request({
    url: `/sys/platformInfo/info/${id}`,
    method: 'get'
  })
}

// 修改
export function platformInfoUpload(data) {
  return request({
    url: '/sys/platformInfo/update',
    method: 'post',
    data: data
  })
}

